<div class="subnav-scene">应用</div>
 {php $category = m('plugin')->getList(1);$apps = false;if ($_W['role'] == 'founder' || empty($_W['role']))$apps = true;}
 {loop $category $ck $cv}
    {if count($cv['plugins'])<=0}{php continue;}{/if}
     <div class='menu-header'><span class="menu-icon fa fa-caret-right"></span>{$cv['name']}</div>
    <ul class="plugin_tabs">
        {loop $cv['plugins'] $plugin}
            {if com_run('perm::check_plugin',$plugin['identity'])}
	        {ifp $plugin['identity']}
	        	<li {if $_GPC['p'] == $plugin['identity']}class="active"{/if}><a href="{php echo webUrl($plugin['identity'])}">{$plugin['name']}</a></li>
	        {/if}
            {/if}
        {/loop}
   </ul>
 {/loop}
    {if $apps}
    <div class='menu-header'><span class="menu-icon fa fa-caret-right"></span>更多应用</div>
     <ul class="plugin_tabs">
         <li><a href="{php echo webUrl('system/plugin/apps')}">应用中心</a></li>
     </ul>
    {/if}

